package com.yhd.entity.wx;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("微信支付统一下单参数vo")
public class UnifiedOrderParam implements Serializable {
    private static final long serialVersionUID = -5094920664322940307L;

    @ApiModelProperty("服务商应用ID")
    private String sp_appid;
    @ApiModelProperty("服务商户号")
    private String sp_mchid;
    @ApiModelProperty("子商户应用ID")
    private String sub_appid;
    @ApiModelProperty("子商户号")
    private String sub_mchid;

    @ApiModelProperty("商品描述")
    private String description;

    @ApiModelProperty("商户订单号")
    private String out_trade_no;

    @ApiModelProperty("交易结束时间")
    private String time_expire;

    @ApiModelProperty("附加数据")
    private String attach;

    @ApiModelProperty("通知地址")
    private String notify_url;

    @ApiModelProperty("订单优惠标记")
    private String goods_tag;

    @ApiModelProperty("订单金额")
    private UnifiedOrderAmount amount;

    @ApiModelProperty("支付者")
    private UnifiedOrderPayer payer;

    @ApiModelProperty("优惠功能")
    private UnifiedOrderDetail detail;

    @ApiModelProperty("场景信息")
    private UnifiedOrderSceneInfo scene_info;

    @ApiModelProperty("结算信息")
    private UnifiedOrderSettleInfo settle_info;

}
